package clientGUI.userPanels.Controllers;

import java.util.ArrayList;

import college.RequestTreatment;
import college.general;

import clientGUI.Controllers.Controller;
import clientserver.Packet;
import clientserver.QueryResult;

public class ISDController extends Controller {

	
	private QueryResult req;
	private ArrayList<String> rids;
	
	
	public ISDController()
	{
		rids= new ArrayList<String>();
		
	}
	
	public void  readonlyaddedRequests()
	{
	QueryResult res=RequestTreatment.getallrequestsbystage("ONLYADDED",client);

	for(int i=0; i<res.rowsize();i++)
			{
		
				String s=res.getString("id");
		rids.add(s);
				res.next();
			}
		
	}
	
	public ArrayList<String>  getallrids()
	{
		return rids;
	}
	
}
